package com.jjb.www.http.api;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2024/1/8 9:21
 * @description:
 */
public class CurriculumApi implements IRequestApi {
    //证书id
    @HttpIgnore
    private String card_book_id;
    //0全部课程 1专业课程  2公共课程
    private String status;
    //1继教 2岗前
    private String cate;
    //课程id
    private String teach_course_info_id;
    //用户管理证书id
    private String certificate_id;
    //结业id
    private String teach_complete_log_id;
    //继教课程分类 1专业人员 2农村工匠 3特种作业
    private String sentry_parent_id;
    //岗位id
    private String sentry_id;
    //农村工匠 特种作业 乡村建设人才（乡村建设指导员，乡村建设工匠，传统建筑工匠） 学员id
    private String student_id;

    public CurriculumApi setCard_book_id(String card_book_id) {
        this.card_book_id = card_book_id;
        return this;
    }

    public CurriculumApi setStatus(String status) {
        this.status = status;
        return this;
    }

    public CurriculumApi setCate(String cate) {
        this.cate = cate;
        return this;
    }

    public CurriculumApi setTeach_course_info_id(String teach_course_info_id) {
        this.teach_course_info_id = teach_course_info_id;
        return this;
    }

    public CurriculumApi setCertificate_id(String certificate_id) {
        this.certificate_id = certificate_id;
        return this;
    }

    public CurriculumApi setTeach_complete_log_id(String teach_complete_log_id) {
        this.teach_complete_log_id = teach_complete_log_id;
        return this;
    }

    public CurriculumApi setSentry_parent_id(String sentry_parent_id) {
        this.sentry_parent_id = sentry_parent_id;
        return this;
    }

    public CurriculumApi setSentry_id(String sentry_id) {
        this.sentry_id = sentry_id;
        return this;
    }

    public CurriculumApi setStudent_id(String student_id) {
        this.student_id = student_id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/teach/v3/cert/courseListNew/"+card_book_id;
    }
    public static class Bean{


        private CourseInfoDTO course_info;
        private List<ListDTO> list;
        private Integer zhuan_num;
        private Integer gong_num;

        public CourseInfoDTO getCourse_info() {
            return course_info;
        }

        public void setCourse_info(CourseInfoDTO course_info) {
            this.course_info = course_info;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public Integer getZhuan_num() {
            return zhuan_num;
        }

        public void setZhuan_num(Integer zhuan_num) {
            this.zhuan_num = zhuan_num;
        }

        public Integer getGong_num() {
            return gong_num;
        }

        public void setGong_num(Integer gong_num) {
            this.gong_num = gong_num;
        }

        public static class CourseInfoDTO {
            private Integer id;
            private String card_book_id;
            private String institute;
            private String title;
            private Integer thumb;
            private Integer is_must;
            private String desc;
            private String file;
            private String ios_money;
            private String android_money;
            private Integer cate;
            private String yuan_money;
            private String teach_course_ids;
            private String already_score;
            private String tips;
            private Integer course_bixiu_score;
            private Integer already_bixiu_score;
            private Integer already_xuan_score;
            private Integer gj_com_status;
            private String sentry_parent_id;
            private String student_id;
            private String chapter_num_desc;
            private Integer last_course_id;
            private Integer last_chapter_id;
            private String yuan_ios_money;
            private String yuan_android_money;
            private Integer pay_status;
            private String money_desc;
            private String explain_url;
            private Integer see_second;
            private String member_desc;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getCard_book_id() {
                return card_book_id;
            }

            public void setCard_book_id(String card_book_id) {
                this.card_book_id = card_book_id;
            }

            public String getInstitute() {
                return institute;
            }

            public void setInstitute(String institute) {
                this.institute = institute;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Integer getThumb() {
                return thumb;
            }

            public void setThumb(Integer thumb) {
                this.thumb = thumb;
            }

            public Integer getIs_must() {
                return is_must;
            }

            public void setIs_must(Integer is_must) {
                this.is_must = is_must;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getFile() {
                return file;
            }

            public void setFile(String file) {
                this.file = file;
            }

            public String getIos_money() {
                return ios_money;
            }

            public void setIos_money(String ios_money) {
                this.ios_money = ios_money;
            }

            public String getAndroid_money() {
                return android_money;
            }

            public void setAndroid_money(String android_money) {
                this.android_money = android_money;
            }

            public Integer getCate() {
                return cate;
            }

            public void setCate(Integer cate) {
                this.cate = cate;
            }

            public String getYuan_money() {
                return yuan_money;
            }

            public void setYuan_money(String yuan_money) {
                this.yuan_money = yuan_money;
            }

            public String getTeach_course_ids() {
                return teach_course_ids;
            }

            public void setTeach_course_ids(String teach_course_ids) {
                this.teach_course_ids = teach_course_ids;
            }

            public String getAlready_score() {
                return already_score;
            }

            public void setAlready_score(String already_score) {
                this.already_score = already_score;
            }

            public String getTips() {
                return tips;
            }

            public void setTips(String tips) {
                this.tips = tips;
            }

            public Integer getCourse_bixiu_score() {
                return course_bixiu_score;
            }

            public void setCourse_bixiu_score(Integer course_bixiu_score) {
                this.course_bixiu_score = course_bixiu_score;
            }

            public Integer getAlready_bixiu_score() {
                return already_bixiu_score;
            }

            public void setAlready_bixiu_score(Integer already_bixiu_score) {
                this.already_bixiu_score = already_bixiu_score;
            }

            public Integer getAlready_xuan_score() {
                return already_xuan_score;
            }

            public void setAlready_xuan_score(Integer already_xuan_score) {
                this.already_xuan_score = already_xuan_score;
            }

            public Integer getGj_com_status() {
                return gj_com_status;
            }

            public void setGj_com_status(Integer gj_com_status) {
                this.gj_com_status = gj_com_status;
            }

            public String getSentry_parent_id() {
                return sentry_parent_id;
            }

            public void setSentry_parent_id(String sentry_parent_id) {
                this.sentry_parent_id = sentry_parent_id;
            }

            public String getStudent_id() {
                return student_id;
            }

            public void setStudent_id(String student_id) {
                this.student_id = student_id;
            }

            public String getChapter_num_desc() {
                return chapter_num_desc;
            }

            public void setChapter_num_desc(String chapter_num_desc) {
                this.chapter_num_desc = chapter_num_desc;
            }

            public Integer getLast_course_id() {
                return last_course_id;
            }

            public void setLast_course_id(Integer last_course_id) {
                this.last_course_id = last_course_id;
            }

            public Integer getLast_chapter_id() {
                return last_chapter_id;
            }

            public void setLast_chapter_id(Integer last_chapter_id) {
                this.last_chapter_id = last_chapter_id;
            }

            public String getYuan_ios_money() {
                return yuan_ios_money;
            }

            public void setYuan_ios_money(String yuan_ios_money) {
                this.yuan_ios_money = yuan_ios_money;
            }

            public String getYuan_android_money() {
                return yuan_android_money;
            }

            public void setYuan_android_money(String yuan_android_money) {
                this.yuan_android_money = yuan_android_money;
            }

            public Integer getPay_status() {
                return pay_status;
            }

            public void setPay_status(Integer pay_status) {
                this.pay_status = pay_status;
            }

            public String getMoney_desc() {
                return money_desc;
            }

            public void setMoney_desc(String money_desc) {
                this.money_desc = money_desc;
            }

            public String getExplain_url() {
                return explain_url;
            }

            public void setExplain_url(String explain_url) {
                this.explain_url = explain_url;
            }

            public Integer getSee_second() {
                return see_second;
            }

            public void setSee_second(Integer see_second) {
                this.see_second = see_second;
            }

            public String getMember_desc() {
                return member_desc;
            }

            public void setMember_desc(String member_desc) {
                this.member_desc = member_desc;
            }
        }

        public static class ListDTO {
            private boolean isfree;
            private Integer id;
            private Integer teach_course_info_id;
            private String number;
            private String title;
            private Integer thumb;
            private Integer is_must;
            private Integer get_score;
            private Integer type;
            private Integer sort;
            private Integer numJie;
            private Integer gengState;
            private Integer status;
            private String status_desc;
            private String number_desc;
            private Integer teach_chapter_id;
            private Integer progress;
            private List<ChapterListDTO> chapter_list;

            public boolean isIsfree() {
                return isfree;
            }

            public void setIsfree(boolean isfree) {
                this.isfree = isfree;
            }

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public Integer getTeach_course_info_id() {
                return teach_course_info_id;
            }

            public void setTeach_course_info_id(Integer teach_course_info_id) {
                this.teach_course_info_id = teach_course_info_id;
            }

            public String getNumber() {
                return number;
            }

            public void setNumber(String number) {
                this.number = number;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public Integer getThumb() {
                return thumb;
            }

            public void setThumb(Integer thumb) {
                this.thumb = thumb;
            }

            public Integer getIs_must() {
                return is_must;
            }

            public void setIs_must(Integer is_must) {
                this.is_must = is_must;
            }

            public Integer getGet_score() {
                return get_score;
            }

            public void setGet_score(Integer get_score) {
                this.get_score = get_score;
            }

            public Integer getType() {
                return type;
            }

            public void setType(Integer type) {
                this.type = type;
            }

            public Integer getSort() {
                return sort;
            }

            public void setSort(Integer sort) {
                this.sort = sort;
            }

            public Integer getNumJie() {
                return numJie;
            }

            public void setNumJie(Integer numJie) {
                this.numJie = numJie;
            }

            public Integer getGengState() {
                return gengState;
            }

            public void setGengState(Integer gengState) {
                this.gengState = gengState;
            }

            public Integer getStatus() {
                return status;
            }

            public void setStatus(Integer status) {
                this.status = status;
            }

            public String getStatus_desc() {
                return status_desc;
            }

            public void setStatus_desc(String status_desc) {
                this.status_desc = status_desc;
            }

            public String getNumber_desc() {
                return number_desc;
            }

            public void setNumber_desc(String number_desc) {
                this.number_desc = number_desc;
            }

            public Integer getTeach_chapter_id() {
                return teach_chapter_id;
            }

            public void setTeach_chapter_id(Integer teach_chapter_id) {
                this.teach_chapter_id = teach_chapter_id;
            }

            public Integer getProgress() {
                return progress;
            }

            public void setProgress(Integer progress) {
                this.progress = progress;
            }

            public List<ChapterListDTO> getChapter_list() {
                return chapter_list;
            }

            public void setChapter_list(List<ChapterListDTO> chapter_list) {
                this.chapter_list = chapter_list;
            }

            public static class ChapterListDTO {
                private String videUrl;
                private Integer id;
                private Integer teach_course_id;
                private String number;
                private String chapter_title;
                private String file_and_text;
                private Integer is_see;
                private String duration;
                private Integer duration_num;
                private Integer teach_course_info_id;
                private Integer state;
                private Integer progress;
                private Integer second;
                private boolean isGig;

                public String getVideUrl() {
                    return videUrl;
                }

                public void setVideUrl(String videUrl) {
                    this.videUrl = videUrl;
                }

                public boolean isGig() {
                    return isGig;
                }

                public void setGig(boolean gig) {
                    isGig = gig;
                }

                public Integer getId() {
                    return id;
                }

                public void setId(Integer id) {
                    this.id = id;
                }

                public Integer getTeach_course_id() {
                    return teach_course_id;
                }

                public void setTeach_course_id(Integer teach_course_id) {
                    this.teach_course_id = teach_course_id;
                }

                public String getNumber() {
                    return number;
                }

                public void setNumber(String number) {
                    this.number = number;
                }

                public String getChapter_title() {
                    return chapter_title;
                }

                public void setChapter_title(String chapter_title) {
                    this.chapter_title = chapter_title;
                }

                public String getFile_and_text() {
                    return file_and_text;
                }

                public void setFile_and_text(String file_and_text) {
                    this.file_and_text = file_and_text;
                }

                public Integer getIs_see() {
                    return is_see;
                }

                public void setIs_see(Integer is_see) {
                    this.is_see = is_see;
                }

                public String getDuration() {
                    return duration;
                }

                public void setDuration(String duration) {
                    this.duration = duration;
                }

                public Integer getDuration_num() {
                    return duration_num;
                }

                public void setDuration_num(Integer duration_num) {
                    this.duration_num = duration_num;
                }

                public Integer getTeach_course_info_id() {
                    return teach_course_info_id;
                }

                public void setTeach_course_info_id(Integer teach_course_info_id) {
                    this.teach_course_info_id = teach_course_info_id;
                }

                public Integer getState() {
                    return state;
                }

                public void setState(Integer state) {
                    this.state = state;
                }

                public Integer getProgress() {
                    return progress;
                }

                public void setProgress(Integer progress) {
                    this.progress = progress;
                }

                public Integer getSecond() {
                    return second;
                }

                public void setSecond(Integer second) {
                    this.second = second;
                }
            }
        }
    }
}
